﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace YmtAuth.Web.V2.Controllers
{
    public class ShardController : Controller
    {
        //
        // GET: /Shard/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ErrorHandle()
        {
            //覆盖错误处理程序中响应状态码
            //Response.StatusCode = 404;
            return Json(new { Message = "error", Value = -3 }, JsonRequestBehavior.AllowGet);
        }
    }
}
